<?php if (count($supports) > 0) : ?>
<div class="l_top">Hỗ trợ trực tuyến</div>
<ul class="tv">
    <?php foreach ($supports as $value) :?>
    <li class="tv1">
        <?php if($value->type == YAHOO):?>
        <div class="tv2">
            <a href="ymsgr:sendim?<?php echo $value->content;?>" title="<?php echo $value->title;?>">
                <img src="http://opi.yahoo.com/online?u=<?php echo $value->content;?>&amp;m=g&amp;t=2&amp;l" border="0" title="<?php echo $value->title;?>" alt="<?php echo $value->title;?>">
            </a>
        </div>
        <div class="tv3">
            <p align="right">
                <a href="ymsgr:sendim?<?php echo $value->content;?>" title="<?php echo $value->title;?>">
                    <?php echo $value->title;?>
                </a>
            </p>
        </div>
        <?php endif;?>
        <?php if($value->type == TELEPHONE):?>
        <div class="telephone">
            <p><?php echo $value->content;?></p>
        </div>
        <?php endif;?>
    </li>
    <?php endforeach;?>
</ul>
<?php endif; ?>